package com.lvmama.pangolin.service;

import java.util.List;
import java.util.Map;

import com.lvmama.pangolin.entity.EarlyWarning;
import com.lvmama.pangolin.entity.WarningConfig;

public interface EarlyWarningService 
{
	public int insertEarlyWarning(EarlyWarning warning) throws Exception;
	
	public List<EarlyWarning> queryEarlyWarning(EarlyWarning warning) throws Exception;
	
	public List<EarlyWarning> queryWarningLogBySql(Map<String,Object> param) throws Exception;
	
	public int updateEarlyWarningStatus(EarlyWarning warning);
	
	public void DealEarlyWarning(WarningConfig wconfig,String content);
}
